<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"  lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<input th:attr="value=${name}"/>

<tr>
    <td style="border: 1px solid seagreen" th:text="${name}"></td>
</tr>

</body>
</html>